﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EmbeddedSharp.Core {
    public class ListObject : List<Object> {
        public override string ToString() {
            StringBuilder buff = new StringBuilder("[");

            for (int index = 0; index < this.Count; index++) {
                buff.Append(this[index]);
                if (index + 1 < this.Count) {
                    buff.Append(",");
                }
            }
            buff.Append("]");

            return buff.ToString();
        }
    }
}
